<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<HyperLocal.Core.LocalOrbAlbum>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Edit
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Edit</h2>

    <%= Html.ValidationSummary("Edit was unsuccessful. Please correct the errors and try again.") %>

    <% using (Html.BeginForm()) {%>

        <fieldset>
            <legend>Fields</legend>
            <p>
                <label for="LocalOrbAlbumId">LocalOrbAlbumId:</label>
                <%= Html.TextBox("LocalOrbAlbumId", Model.LocalOrbAlbumId) %>
                <%= Html.ValidationMessage("LocalOrbAlbumId", "*") %>
            </p>
            <p>
                <label for="LocalOrbUserId">LocalOrbUserId:</label>
                <%= Html.TextBox("LocalOrbUserId", Model.LocalOrbUserId) %>
                <%= Html.ValidationMessage("LocalOrbUserId", "*") %>
            </p>
            <p>
                <label for="AlbumName">AlbumName:</label>
                <%= Html.TextBox("AlbumName", Model.AlbumName) %>
                <%= Html.ValidationMessage("AlbumName", "*") %>
            </p>
            <p>
                <label for="DateCreated">DateCreated:</label>
                <%= Html.TextBox("DateCreated", String.Format("{0:g}", Model.DateCreated)) %>
                <%= Html.ValidationMessage("DateCreated", "*") %>
            </p>
            <p>
                <label for="DateDeleted">DateDeleted:</label>
                <%= Html.TextBox("DateDeleted", String.Format("{0:g}", Model.DateDeleted)) %>
                <%= Html.ValidationMessage("DateDeleted", "*") %>
            </p>
            <p>
                <label for="DateLastModified">DateLastModified:</label>
                <%= Html.TextBox("DateLastModified", String.Format("{0:g}", Model.DateLastModified)) %>
                <%= Html.ValidationMessage("DateLastModified", "*") %>
            </p>
            <p>
                <label for="Active">Active:</label>
                <%= Html.TextBox("Active", Model.Active) %>
                <%= Html.ValidationMessage("Active", "*") %>
            </p>
            <p>
                <label for="Deleted">Deleted:</label>
                <%= Html.TextBox("Deleted", Model.Deleted) %>
                <%= Html.ValidationMessage("Deleted", "*") %>
            </p>
            <p>
                <input type="submit" value="Save" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%=Html.ActionLink("Back to List", "Index") %>
    </div>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="StyleInjection" runat="server">
</asp:Content>

